﻿using RPCServer.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace RPCServer.Network
{
    class RecvArgs : SocketAsyncEventArgs
    {
        MBuffer _buffer;

        MBufferPacket _packet = new();

        public void SetBuffer(MBuffer buffer)
        {
            _buffer = buffer;
            SetBuffer(_buffer.Buffer, buffer.Offset, buffer.FreeSize);
        }

        public void StartUnPack(int count)
        {

        }
    }
}
